@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 200;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.home{
	.user{
		display: flex;
		align-items: center; //垂直对齐方式居中
		padding-bottom: 20px;
		margin-bottom: 20px;
		border-bottom: 1px solid #ccc;
		img {
			width:150px;
			height: 150px;
			border-radius: 50%;
			margin-right: 40px;
		}
		&info{
			.message{
				font-size: 16px;
				color: #999999;
			}
			.name{
				font-size: 28px;
				margin-bottom: 10px;
			}
			.access {
				color: #999999;
			}
		}
	}
	.login-info{
		p{
			line-height: 28px;
			font-size: 14px;
			color: #999999;
			span{
				color: #666666;
				margin-left: 60px;
			}
		}
	}
	.num{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		.el-card{			
			width: 33%;
			margin-bottom: 20px;
		}
		.icon{
			font-size: 50px;
			width: 100px;
			text-align: center;
			line-height: 110px;
		}
		.detail {
			margin-left: 15px;
			display: flex;
			flex-direction: column;
			justify-content: center;
			.num {
				font-size: 30px;
				margin-bottom: 10px;
			}
			.txt {
				font-size: 14px;
				text-align: center;
				color: #999999;
			}
		}
	}
	.graph{
		margin-top: 20px;
		display: flex;
		justify-content: space-between;
		.el-card{
			width: 100%;
		}
	}
	.show{	
	.el-card{
			height: 520px;
			margin-bottom: 20px;
		}
	}
}